<?php echo anchor(base_url(),"Home");?>
<?php echo validation_errors();?>
<?php echo $error_message;?>
<?php echo form_open("user/Login/validate_credentials");?>
<h1>Login</h1>
<table>
    <tr>
        <td><label for="username">Username</label></td>
        <td><input type="text" name="username" id="username" value="<?php echo set_value('username');?>"/></td>
    </tr>
    
    <tr>
        <td><label for="password">Password</label></td>
        <td><input type="password" id="password" name="password" value="<?php echo set_value('password');?>"/></td>
    </tr>
	
	<tr>
    	<td><input type="submit" value="Submit"/></td>
    	<td></td>
    </tr>
</table>
    <?php echo form_close();?>